<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>测试</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="js/html5shiv.min.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
<style>
	body{ padding-top:70px;}
	.carousel{height:500px;background-color:#666;}
	.carousel .item{height:500px;background-color:#666;}
	.carousel img{width:100%;}
</style>
</head>
<body>

<!--header-->
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
    <div class="container ">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <!--logo网站名字-->
            <a class="navbar-brand" href="#">屌丝猪</a>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li class="active">
                	<a href="#">首页</a>
                </li>
                <li class="dropdown">
                	<a href="#" class="dropdown-toggle" data-toggle="dropdown">前端<span class="caret"></span></a>
                    <ul class="dropdown-menu" role="menu">
                    	<li class="">
                        	<a href="">HTML</a>
                        </li>
                    	<li class="">
                        	<a href="">CSS</a>
                        </li>
                    	<li class="">
                        	<a href="">JAVASCRIPT</a>
                        </li>
                    </ul>
                </li>
                <li>
                	<a href="#">图片集</a>
                </li>
            </ul>
            <div class="row">
            	<div class="col-lg-1">
                    <div class="navbar-form input-group">
                        <input type="text" class="form-control" placeholder="搜索...">
                        <span class="input-group-btn">
                        	<button class="btn btn-default" type="button">搜索</button>
                        </span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</nav>

<!--content-->
<div class="container">
	<div class="row">
    	<!--banner-->
    	<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
            <ol class="carousel-indicators">
                <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
                <li data-target="#carousel-example-generic" data-slide-to="1"></li>
            </ol>
            <div class="carousel-inner" role="listbox">
                <div class="item active">
                    <img src="images/banner1.jpg" alt="...">
                    <div class="carousel-caption">
                        <h1>这是2002年的第一场雪</h1>
                    </div>
                </div>
                <div class="item">
                    <img src="images/banner1.jpg" alt="...">
                    <div class="carousel-caption">
                        <h1>这是冲动的惩罚</h1>
                    </div>
                </div>
            </div>
            <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
                <span class="glyphicon glyphicon-chevron-left"></span>
                <span class="sr-only">Previous</span>
            </a>
            <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
                <span class="glyphicon glyphicon-chevron-right"></span>
                <span class="sr-only">Next</span>
            </a>
        </div>
    </div>
</div>



<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>